<template>
    <div>
        <el-result
                class="p-0"
                icon="warning"
                sub-title="确认删除该数据?"
        />
    </div>

</template>

<script lang="ts">
    import {defineComponent, inject, reactive} from 'vue'

    export default defineComponent({
        name: "DialogDel",
        props: {},
        setup() {
            const dialog: any = inject('dialog')
            const elform: any = reactive({});
            //提交方法
            const submitForm = () => {
                elform.id = dialog.data.item.id
                elform.verify = true
            }
            return {
                submitForm,
                elform,
            }
        }
    })
</script>

<style scoped>

</style>